package com.cly.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 岗位类型枚举
 *
 * @author by 春风能解释
 * <p>
 * 2024/11/13
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum PostTypeEnum {
    /**
     * 全职
     */
    FULL_TIME(0, "全职"),
    /**
     * 兼职
     */
    PART_TIME(1, "兼职"),
    /**
     * 实习
     */
    INTERNSHIP(2, "实习");

    /**
     * 枚举值
     */
    @EnumValue
    private Integer value;
    /**
     * 展示值
     */
    @JsonValue
    private String name;
}
